if [ $# -eq 0 ]; then
        echo "No dataset provided!"
else
        DATASET=$1
        echo Dataset is: ${DATASET}
        if [ ! -d results/${DATASET} ]; then
                mkdir -p results/${DATASET}
                mkdir -p logs/${DATASET}
                echo "Made directories!"
        fi
        script --timing=logs/${DATASET}/finetune.time logs/${DATASET}/finetune.log -f -c "python3 \
                fine-tuning/run_classifier.py \
                --pretrained_model_path models/pretrained_model.bin \
                --vocab_path models/encryptd_vocab.txt \
                --train_path datasets/${DATASET}/tsv/packet/train_dataset.tsv \
                --dev_path datasets/${DATASET}/tsv/packet/valid_dataset.tsv \
                --test_path datasets/${DATASET}/tsv/packet/test_dataset.tsv \
                --epochs_num 10 --batch_size 32 --embedding word_pos_seg \
                --encoder transformer --mask fully_visible \
                --seq_length 128 --learning_rate 2e-5 \
                --output_model_path results/${DATASET}/finetuned_model.bin \
                --confusion_matrix_path results/${DATASET}/confusion_matrix"
fi